float right react native

63

float right react native -

//pick the one which works best for you
style={{textAlign: 'right'}}
style={{flexDirection: 'row', justifyContent: 'flex-end'}}
style={{position: 'absolute', right: 0}}

//parent has to be flexDirection row (default is column)
style={{alignSelf: 'flex-end'}}
style={{alignItems: 'flex-end'}}

Comments

Submit
0 Comments